package com.gupao.factory.simple;

import com.gupao.factory.Car;

public class SimpleFactoryTest {

    public static void main(String[] args) {

        //这边就是我们的消费者
        Car car = new SimpleFactory().getCar("BENZ");

        System.out.println(car.getName());
    }

}
